package com.appspot.zarm.controller.operations;

import javax.servlet.ServletContext;


public class OperationFactory {
	
	public static String LAYOUT_OPERATION = "layout";
	public static String GAME_OPERATION = "game";

	public static Operation getOperation(String operationId, ServletContext servletContext) {
		if (operationId.equals(GAME_OPERATION)){ 
			return new GameOperation(servletContext);
		} else {
			return new LayoutOperation(servletContext);
		}
	}

}
